package org.myspringframework.context.aware;

import org.myspringframework.beans.BeansException;
import org.myspringframework.beans.factory.aware.Aware;
import org.myspringframework.context.ApplicationContext;

//实现此接口，能感知到所属的 ApplicationContext
public interface ApplicationContextAware extends Aware {

    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;

}